package com.tensquare.user.dao;

import com.tensquare.user.pojo.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * 管理员数据访问接口
 * @author fangyu
 * @version v1.0.0
 * @date 2020/10/14 6:21 下午
 */
public interface AdminDao extends JpaRepository<Admin, String>, JpaSpecificationExecutor<Admin> {

    public Admin findByLoginname(String loginname);
}
